package com.jm.bishe.mapper;

import com.jm.bishe.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface AdminMapper {

    public Admin queryAdminByID(String adminId);

    public Admin queryAdminByAdminPhoneNumber(String adminPhoneNumber);

    public int addAdmin(Admin admin);

    public int updateAdmin(Admin admin);


}
